<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <style>
        /* 引入外部字体 */
        @font-face {
            font-family: droidSans;
            src: url("./font/DroidSans.ttf") format("TrueType");
        }

        @font-face {
            font-family: economicabold;
            src: url("./font/Economica-Bold-OTF.otf") format("OpenType");
        }

        @font-face {
            font-family: economica;
            src: url("./font/Economica-Regular-OTF.otf") format("OpenType");
        }

        @font-face {
            font-family: bebas;
            src: url("./font/BEBAS___.ttf") format("TrueType");
        }

        * {
            padding: 0;
            margin: 0;
        }

        a {
            text-decoration: none;
            color: black;
        }

        a:hover {
            text-decoration: underline;
            color: blue;
        }

        /* body */
        body {
            background: url(./img/tbg.png) repeat;
            font: 14px droidSans;
        }

        /*container*/
        .container {
            width: 950px;
            margin: 0 auto;
        }

        /*logo*/
        header img {
            margin: 10px 0 20px 20px;
        }

        nav {
            background-color: #ffffff;

            border: 1px solid black;

            border-radius: 15px;
            box-shadow: 5px 5px 2px #666;
        }

        nav .nav {
            padding: 20px 0 20px 10px;
        }

        nav li {
            /*border: 1px solid black;*/
            display: inline-block;
            padding: 0 15px;
        }

        nav li a {
            color: #333333;
        }

        nav li a:hover {
            color: #76b5b5;
            text-decoration: underline;
        }

        .content{

            padding: 20px;
            margin: 20px 0;
            overflow: hidden;

            border-radius: 15px;
            border: 1px solid black;

            box-shadow: 5px 5px 2px #666;

            background-color: #ffffff;
        }

        .banner{
            height: 350px;
            border: 1px solid #ddd;

            border-radius: 15px;

            padding: 80px 100px 0 100px;

            background: url(./img/html5.png) no-repeat 350px top;
        }

        .banner h2{
            font: 66px economicabold;
            margin-bottom: 40px;
        }

        .banner p {
            font: 24px economicabold;
            width: 450px;
            opacity: 0.8;
            /*filter: alpha(opacity=80);*/
            margin-bottom: 60px;
        }

        .banner a{
            font: 14px bebas;
            color: #000;
            border: 8px solid #000;
            border-radius: 30px;
            padding: 10px 20px;

            opacity: 0.8;
            word-spacing: 5px;
        }


        /*left-content*/
        .left-content{
            margin-top: 20px;
            border: 1px solid #ddd;
            border-radius: 10px;

            float: left;
            width: 670px;
            clear: none;
        }

        .left-content h3{
            font-weight: normal;
            padding: 20px 0 10px 20px;
        }

        .left-content .classic{
            text-align: center;
            width: 210px;
            float: left;
            border: 1px solid #ddd;
        }

        .left-content .cl2{
            margin: 0 15px;
        }

        .left-content .classic img{
            width: 100%;
            opacity: 0.5;
            filter: alpha(opacity=50);
        }


        .left-content .classic h4{
            font-weight: normal;
            font-size: 15px;

            opacity: 0.8;
            filter: alpha(opacity=80);

            margin: 10px 0;
        }


        .left-content .classic p{
            font-size: 13px;
            opacity: .5;
            filter: alpha(opacity=50);
            line-height: 1.5em;
        }

        .left-content .classic:hover *{
            opacity: 1;
            filter: alpha(opacity=100);
        }


        /*right-content*/
        .right-content{
            float: right;
            width: 220px;
            border: 1px solid #ccc;

            border-radius: 10px;
            background: #eee;

            background: linear-gradient(top, #fff 0%,#f7f7f7 84%,#e8e8e8 100%);
            margin-top: 10px;

            /*background: -webkit-linear-gradient(top, #fff 0%,#f7f7f7 84%,#e8e8e8 100%);*/

        }

        .right-content h3{
            font-family: droidSans;
            font-weight: normal;
            color: #fff;
            padding: 8px 0 8px 15px;
            background-color: #333;
            border-radius: 10px 10px 0 0;
        }

        .right-content ul{
            margin-left: 10px;
            list-style-type: square;
        }

        .right-content ul li{
            font: 12px droidSans;
            line-height: 1.5em;
            margin: 5px 0 5px 10px;
        }

        .right-content ul li a{
            opacity: .7;
            filter: alpha(opacity=70);
        }
        .right-content ul li a:hover{
            opacity: 1;
            filter: alpha(opacity=100);
        }
    </style>
</head>
<body>

<div class="container">

    <!--页首-->
    <header>
        <!--logo-->
        <img src="img/logo.png" width="105" height="46" alt="logo"/>

        <!--nav-->
        <nav>
            <ul class="nav">
                <li><a href="#">Home</a></li>
                <li><a href="#">About</a></li>
                <li><a href="#">Features</a></li>
                <li><a href="#">Portfolio</a></li>
                <li><a href="#">Pricing</a></li>
                <li><a href="#">Blog</a></li>
                <li><a href="#">Contact</a></li>
            </ul>
        </nav>
    </header>

    <!--页面主体内容-->
    <main class="content">

        <!--banner-->
        <div class="banner">
            <h2>HTML5</h2>
            <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut
                laoreet dolore magna aliquam erat volutpat.</p>
            <a href="#">READ MORE</a>
        </div>

        <!--左侧内容 -->
        <div class="left-content">
            <h3>Latest Works</h3>
            <article class="classic">
                <img src="img/car.jpg" alt="car">
                <h4>Mobile App</h4>
                <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut
                    labore et dolore magna aliqua. Ut enim ad minim veniam</p>
            </article>
            <article class="classic cl2">
                <img src="img/web_app1.jpg" alt="web">
                <h4>Mobile App</h4>
                <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut
                    labore et dolore magna aliqua. Ut enim ad minim veniam</p>
            </article>
            <article class="classic">
                <img src="img/mobile_app1.jpg" alt="mobile">
                <h4>Mobile App</h4>
                <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut
                    labore et dolore magna aliqua. Ut enim ad minim veniam</p>
            </article>
        </div>

        <!--.右侧内容 -->
        <aside class="right-content">
            <h3>Why graVis?</h3>
            <ul>
                <li><a href="#">Fully responsive so your content will always look good on any screen size</a></li>
                <li><a href="#">Awesome sliders give you the opportunity to showcase important content</a></li>
                <li><a href="#">Tested on iPhone and iPad with Retina Display</a></li>
                <li><a href="#">Multiple layout options for home pages, portfolio section & blog section</a></li>
                <li><a href="#">We offer very good support because we care about your site as much as you do</a>
                </li>
                <li><a href="#">Over 400 Icons</a></li>
            </ul>
        </aside>

    </main>
</div>


</body>
</html>